package com.teamall.web.family.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class FamilyHelpArg {
    private String pk_name = "HELP_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<FamilyHelpCriteria> oredCriteria;

    public FamilyHelpArg() {
        oredCriteria = new ArrayList<FamilyHelpCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<FamilyHelpCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(FamilyHelpCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public FamilyHelpCriteria or() {
    	FamilyHelpCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public FamilyHelpCriteria createCriteria() {
    	FamilyHelpCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected FamilyHelpCriteria createCriteriaInternal() {
    	FamilyHelpCriteria criteria = new FamilyHelpCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<FamilyHelpCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<FamilyHelpCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<FamilyHelpCriterion> getAllCriteria() {
            return criteria;
        }

        public List<FamilyHelpCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new FamilyHelpCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyHelpCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyHelpCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyHelpCriterion(condition, value1, value2));
        }

        public FamilyHelpCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andHelpIdIsNull() {
            addCriterion("HELP_ID is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdIsNotNull() {
            addCriterion("HELP_ID is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdEqualTo(Integer value) {
            addCriterion("HELP_ID =", value, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdNotEqualTo(Integer value) {
            addCriterion("HELP_ID <>", value, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdGreaterThan(Integer value) {
            addCriterion("HELP_ID >", value, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("HELP_ID >=", value, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdLessThan(Integer value) {
            addCriterion("HELP_ID <", value, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdLessThanOrEqualTo(Integer value) {
            addCriterion("HELP_ID <=", value, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdLike(Integer value) {
            addCriterion("HELP_ID like ", value, "HELP_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdNotLike(Integer value) {
            addCriterion("HELP_ID  not like ", value, "HELP_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdLeftLike(Integer value) {
            addCriterion("HELP_ID like ", value, "HELP_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdNotLeftLike(Integer value) {
            addCriterion("HELP_ID  not like ", value, "HELP_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdRightLike(Integer value) {
            addCriterion("HELP_ID like ", value, "HELP_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdNotRightLike(Integer value) {
            addCriterion("HELP_ID  not like ", value, "HELP_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdIn(List<Integer> values) {
            addCriterion("HELP_ID  in ", values, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdNotIn(List<Integer> values) {
            addCriterion("HELP_ID not in ", values, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdBetween(Integer value1, Integer value2) {
            addCriterion("HELP_ID between ", value1, value2, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpIdNotBetween(Integer value1, Integer value2) {
            addCriterion("HELP_ID not between ", value1, value2, "HELP_ID");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andFamilyIdIsNull() {
            addCriterion("FAMILY_ID is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdIsNotNull() {
            addCriterion("FAMILY_ID is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("FAMILY_ID =", value, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_ID <>", value, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("FAMILY_ID >", value, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID >=", value, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("FAMILY_ID <", value, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID <=", value, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("FAMILY_ID  in ", values, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_ID not in ", values, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID between ", value1, value2, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID not between ", value1, value2, "FAMILY_ID");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andHelpDateIsNull() {
            addCriterion("HELP_DATE is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateIsNotNull() {
            addCriterion("HELP_DATE is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateEqualTo(Date value) {
            addCriterion("HELP_DATE =", value, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateNotEqualTo(Date value) {
            addCriterion("HELP_DATE <>", value, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateGreaterThan(Date value) {
            addCriterion("HELP_DATE >", value, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateGreaterThanOrEqualTo(Date value) {
            addCriterion("HELP_DATE >=", value, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateLessThan(Date value) {
            addCriterion("HELP_DATE <", value, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateLessThanOrEqualTo(Date value) {
            addCriterion("HELP_DATE <=", value, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateLike(Date value) {
            addCriterion("HELP_DATE like ", value, "HELP_DATE", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateNotLike(Date value) {
            addCriterion("HELP_DATE  not like ", value, "HELP_DATE", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateLeftLike(Date value) {
            addCriterion("HELP_DATE like ", value, "HELP_DATE", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateNotLeftLike(Date value) {
            addCriterion("HELP_DATE  not like ", value, "HELP_DATE", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateRightLike(Date value) {
            addCriterion("HELP_DATE like ", value, "HELP_DATE", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateNotRightLike(Date value) {
            addCriterion("HELP_DATE  not like ", value, "HELP_DATE", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateIn(List<Date> values) {
            addCriterion("HELP_DATE  in ", values, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateNotIn(List<Date> values) {
            addCriterion("HELP_DATE not in ", values, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateBetween(Date value1, Date value2) {
            addCriterion("HELP_DATE between ", value1, value2, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpDateNotBetween(Date value1, Date value2) {
            addCriterion("HELP_DATE not between ", value1, value2, "HELP_DATE");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andHelpStaffIsNull() {
            addCriterion("HELP_STAFF is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffIsNotNull() {
            addCriterion("HELP_STAFF is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffEqualTo(Integer value) {
            addCriterion("HELP_STAFF =", value, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffNotEqualTo(Integer value) {
            addCriterion("HELP_STAFF <>", value, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffGreaterThan(Integer value) {
            addCriterion("HELP_STAFF >", value, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("HELP_STAFF >=", value, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffLessThan(Integer value) {
            addCriterion("HELP_STAFF <", value, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffLessThanOrEqualTo(Integer value) {
            addCriterion("HELP_STAFF <=", value, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffLike(Integer value) {
            addCriterion("HELP_STAFF like ", value, "HELP_STAFF", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffNotLike(Integer value) {
            addCriterion("HELP_STAFF  not like ", value, "HELP_STAFF", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffLeftLike(Integer value) {
            addCriterion("HELP_STAFF like ", value, "HELP_STAFF", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffNotLeftLike(Integer value) {
            addCriterion("HELP_STAFF  not like ", value, "HELP_STAFF", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffRightLike(Integer value) {
            addCriterion("HELP_STAFF like ", value, "HELP_STAFF", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffNotRightLike(Integer value) {
            addCriterion("HELP_STAFF  not like ", value, "HELP_STAFF", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffIn(List<Integer> values) {
            addCriterion("HELP_STAFF  in ", values, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffNotIn(List<Integer> values) {
            addCriterion("HELP_STAFF not in ", values, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffBetween(Integer value1, Integer value2) {
            addCriterion("HELP_STAFF between ", value1, value2, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("HELP_STAFF not between ", value1, value2, "HELP_STAFF");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andHelpContentIsNull() {
            addCriterion("HELP_CONTENT is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentIsNotNull() {
            addCriterion("HELP_CONTENT is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentEqualTo(String value) {
            addCriterion("HELP_CONTENT =", value, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentNotEqualTo(String value) {
            addCriterion("HELP_CONTENT <>", value, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentGreaterThan(String value) {
            addCriterion("HELP_CONTENT >", value, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentGreaterThanOrEqualTo(String value) {
            addCriterion("HELP_CONTENT >=", value, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentLessThan(String value) {
            addCriterion("HELP_CONTENT <", value, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentLessThanOrEqualTo(String value) {
            addCriterion("HELP_CONTENT <=", value, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentLike(String value) {
            addCriterion("HELP_CONTENT like ", value, "HELP_CONTENT", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentNotLike(String value) {
            addCriterion("HELP_CONTENT  not like ", value, "HELP_CONTENT", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentLeftLike(String value) {
            addCriterion("HELP_CONTENT like ", value, "HELP_CONTENT", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentNotLeftLike(String value) {
            addCriterion("HELP_CONTENT  not like ", value, "HELP_CONTENT", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentRightLike(String value) {
            addCriterion("HELP_CONTENT like ", value, "HELP_CONTENT", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentNotRightLike(String value) {
            addCriterion("HELP_CONTENT  not like ", value, "HELP_CONTENT", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentIn(List<String> values) {
            addCriterion("HELP_CONTENT  in ", values, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentNotIn(List<String> values) {
            addCriterion("HELP_CONTENT not in ", values, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentBetween(String value1, String value2) {
            addCriterion("HELP_CONTENT between ", value1, value2, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpContentNotBetween(String value1, String value2) {
            addCriterion("HELP_CONTENT not between ", value1, value2, "HELP_CONTENT");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andFeedbackStaffIsNull() {
            addCriterion("FEEDBACK_STAFF is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffIsNotNull() {
            addCriterion("FEEDBACK_STAFF is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffEqualTo(Integer value) {
            addCriterion("FEEDBACK_STAFF =", value, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffNotEqualTo(Integer value) {
            addCriterion("FEEDBACK_STAFF <>", value, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffGreaterThan(Integer value) {
            addCriterion("FEEDBACK_STAFF >", value, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("FEEDBACK_STAFF >=", value, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffLessThan(Integer value) {
            addCriterion("FEEDBACK_STAFF <", value, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffLessThanOrEqualTo(Integer value) {
            addCriterion("FEEDBACK_STAFF <=", value, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffLike(Integer value) {
            addCriterion("FEEDBACK_STAFF like ", value, "FEEDBACK_STAFF", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffNotLike(Integer value) {
            addCriterion("FEEDBACK_STAFF  not like ", value, "FEEDBACK_STAFF", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffLeftLike(Integer value) {
            addCriterion("FEEDBACK_STAFF like ", value, "FEEDBACK_STAFF", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffNotLeftLike(Integer value) {
            addCriterion("FEEDBACK_STAFF  not like ", value, "FEEDBACK_STAFF", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffRightLike(Integer value) {
            addCriterion("FEEDBACK_STAFF like ", value, "FEEDBACK_STAFF", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffNotRightLike(Integer value) {
            addCriterion("FEEDBACK_STAFF  not like ", value, "FEEDBACK_STAFF", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffIn(List<Integer> values) {
            addCriterion("FEEDBACK_STAFF  in ", values, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffNotIn(List<Integer> values) {
            addCriterion("FEEDBACK_STAFF not in ", values, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffBetween(Integer value1, Integer value2) {
            addCriterion("FEEDBACK_STAFF between ", value1, value2, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("FEEDBACK_STAFF not between ", value1, value2, "FEEDBACK_STAFF");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andFeedbackContentIsNull() {
            addCriterion("FEEDBACK_CONTENT is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentIsNotNull() {
            addCriterion("FEEDBACK_CONTENT is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentEqualTo(String value) {
            addCriterion("FEEDBACK_CONTENT =", value, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentNotEqualTo(String value) {
            addCriterion("FEEDBACK_CONTENT <>", value, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentGreaterThan(String value) {
            addCriterion("FEEDBACK_CONTENT >", value, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentGreaterThanOrEqualTo(String value) {
            addCriterion("FEEDBACK_CONTENT >=", value, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentLessThan(String value) {
            addCriterion("FEEDBACK_CONTENT <", value, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentLessThanOrEqualTo(String value) {
            addCriterion("FEEDBACK_CONTENT <=", value, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentLike(String value) {
            addCriterion("FEEDBACK_CONTENT like ", value, "FEEDBACK_CONTENT", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentNotLike(String value) {
            addCriterion("FEEDBACK_CONTENT  not like ", value, "FEEDBACK_CONTENT", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentLeftLike(String value) {
            addCriterion("FEEDBACK_CONTENT like ", value, "FEEDBACK_CONTENT", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentNotLeftLike(String value) {
            addCriterion("FEEDBACK_CONTENT  not like ", value, "FEEDBACK_CONTENT", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentRightLike(String value) {
            addCriterion("FEEDBACK_CONTENT like ", value, "FEEDBACK_CONTENT", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentNotRightLike(String value) {
            addCriterion("FEEDBACK_CONTENT  not like ", value, "FEEDBACK_CONTENT", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentIn(List<String> values) {
            addCriterion("FEEDBACK_CONTENT  in ", values, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentNotIn(List<String> values) {
            addCriterion("FEEDBACK_CONTENT not in ", values, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentBetween(String value1, String value2) {
            addCriterion("FEEDBACK_CONTENT between ", value1, value2, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackContentNotBetween(String value1, String value2) {
            addCriterion("FEEDBACK_CONTENT not between ", value1, value2, "FEEDBACK_CONTENT");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andFeedbackDateIsNull() {
            addCriterion("FEEDBACK_DATE is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateIsNotNull() {
            addCriterion("FEEDBACK_DATE is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateEqualTo(Date value) {
            addCriterion("FEEDBACK_DATE =", value, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateNotEqualTo(Date value) {
            addCriterion("FEEDBACK_DATE <>", value, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateGreaterThan(Date value) {
            addCriterion("FEEDBACK_DATE >", value, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateGreaterThanOrEqualTo(Date value) {
            addCriterion("FEEDBACK_DATE >=", value, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateLessThan(Date value) {
            addCriterion("FEEDBACK_DATE <", value, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateLessThanOrEqualTo(Date value) {
            addCriterion("FEEDBACK_DATE <=", value, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateLike(Date value) {
            addCriterion("FEEDBACK_DATE like ", value, "FEEDBACK_DATE", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateNotLike(Date value) {
            addCriterion("FEEDBACK_DATE  not like ", value, "FEEDBACK_DATE", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateLeftLike(Date value) {
            addCriterion("FEEDBACK_DATE like ", value, "FEEDBACK_DATE", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateNotLeftLike(Date value) {
            addCriterion("FEEDBACK_DATE  not like ", value, "FEEDBACK_DATE", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateRightLike(Date value) {
            addCriterion("FEEDBACK_DATE like ", value, "FEEDBACK_DATE", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateNotRightLike(Date value) {
            addCriterion("FEEDBACK_DATE  not like ", value, "FEEDBACK_DATE", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateIn(List<Date> values) {
            addCriterion("FEEDBACK_DATE  in ", values, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateNotIn(List<Date> values) {
            addCriterion("FEEDBACK_DATE not in ", values, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateBetween(Date value1, Date value2) {
            addCriterion("FEEDBACK_DATE between ", value1, value2, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andFeedbackDateNotBetween(Date value1, Date value2) {
            addCriterion("FEEDBACK_DATE not between ", value1, value2, "FEEDBACK_DATE");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andHelpStateIsNull() {
            addCriterion("HELP_STATE is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateIsNotNull() {
            addCriterion("HELP_STATE is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateEqualTo(Integer value) {
            addCriterion("HELP_STATE =", value, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateNotEqualTo(Integer value) {
            addCriterion("HELP_STATE <>", value, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateGreaterThan(Integer value) {
            addCriterion("HELP_STATE >", value, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("HELP_STATE >=", value, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateLessThan(Integer value) {
            addCriterion("HELP_STATE <", value, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateLessThanOrEqualTo(Integer value) {
            addCriterion("HELP_STATE <=", value, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateLike(Integer value) {
            addCriterion("HELP_STATE like ", value, "HELP_STATE", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateNotLike(Integer value) {
            addCriterion("HELP_STATE  not like ", value, "HELP_STATE", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateLeftLike(Integer value) {
            addCriterion("HELP_STATE like ", value, "HELP_STATE", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateNotLeftLike(Integer value) {
            addCriterion("HELP_STATE  not like ", value, "HELP_STATE", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateRightLike(Integer value) {
            addCriterion("HELP_STATE like ", value, "HELP_STATE", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateNotRightLike(Integer value) {
            addCriterion("HELP_STATE  not like ", value, "HELP_STATE", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateIn(List<Integer> values) {
            addCriterion("HELP_STATE  in ", values, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateNotIn(List<Integer> values) {
            addCriterion("HELP_STATE not in ", values, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateBetween(Integer value1, Integer value2) {
            addCriterion("HELP_STATE between ", value1, value2, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andHelpStateNotBetween(Integer value1, Integer value2) {
            addCriterion("HELP_STATE not between ", value1, value2, "HELP_STATE");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andTownIdIsNull() {
            addCriterion("TOWN_ID is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdIsNotNull() {
            addCriterion("TOWN_ID is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdEqualTo(Integer value) {
            addCriterion("TOWN_ID =", value, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("TOWN_ID <>", value, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("TOWN_ID >", value, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOWN_ID >=", value, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdLessThan(Integer value) {
            addCriterion("TOWN_ID <", value, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("TOWN_ID <=", value, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdNotLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdLeftLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdRightLike(Integer value) {
            addCriterion("TOWN_ID like ", value, "TOWN_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("TOWN_ID  not like ", value, "TOWN_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdIn(List<Integer> values) {
            addCriterion("TOWN_ID  in ", values, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("TOWN_ID not in ", values, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("TOWN_ID between ", value1, value2, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("TOWN_ID not between ", value1, value2, "TOWN_ID");
            return (FamilyHelpCriteria) this;
        }
        public FamilyHelpCriteria andVillageIdIsNull() {
            addCriterion("VILLAGE_ID is null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdIsNotNull() {
            addCriterion("VILLAGE_ID is not null");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("VILLAGE_ID =", value, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("VILLAGE_ID <>", value, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("VILLAGE_ID >", value, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_ID >=", value, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdLessThan(Integer value) {
            addCriterion("VILLAGE_ID <", value, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_ID <=", value, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdNotLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 1);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 0);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdRightLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 2);
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("VILLAGE_ID  in ", values, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("VILLAGE_ID not in ", values, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_ID between ", value1, value2, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

        public FamilyHelpCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_ID not between ", value1, value2, "VILLAGE_ID");
            return (FamilyHelpCriteria) this;
        }

    }

    public static class FamilyHelpCriteria extends GeneratedCriteria {

        protected FamilyHelpCriteria() {
            super();
        }
    }

    public static class FamilyHelpCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected FamilyHelpCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected FamilyHelpCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected FamilyHelpCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected FamilyHelpCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected FamilyHelpCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected FamilyHelpCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}